Templately\Core\Importer\WPImport D

Total Complexity 260
Dependencies 6
Dependents 2
Total lines 1,659
Lines of code 1,038
Logical lines of code 664
Comment lines 307
Methods 34
Properties 27

Methods 34

Method Rating Maintainability Complexity Lines of code
process_posts()
D
17
52 248
fetch_remote_file()
C
31 29 96
process_menu_item()
C
34 25 87
set_author_mapping()
B
38 20 64
process_terms()
B
35 16 85
process_attachment()
A
41 11 51
backfill_parents()
A
50 11 30
__construct()
A
51 10 26
prepare_block()
A
52 9 24
get_filename_from_disposition()
A
51 8 27
process_termmeta()
S
54 6 21
import_sizes()
S
55 6 18
import()
S
49 5 33
set_authors_from_import()
S
55 5 19
get_file_extension_by_mime_type()
S
60 5 12
process_navigation()
S
58 4 16
import_start()
S
53 3 22
get_saved_image()
S
56 3 21
remap_featured_images()
S
64 4 10
backfill_attachment_urls()
S
53 2 23
backup_attributes()
S
63 3 10
retrieve_attributes()
S
65 3 9
size_exists_in_metadata()
S
66 3 8
handle_duplicated_nav_menu_term()
S
62 2 12
import_end()
S
63 2 11
extract_sizes()
S
67 2 8
is_valid_meta_key()
S
70 2 6
update_term_meta()
S
72 2 5
update_post_meta()
S
72 2 5
create_size_array()
S
62 1 11
remove_extension()
S
71 1 5
parse()
S
76 1 4
run()
S
77 1 4
create_unique_destination_file()
S
67 1 7